/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package parcview;

import java.util.ArrayList;
import java.util.List;
import parcview.interfaces.CarIF;

/**
 *
 * @author Malte
 */
public class ParcSimulation{

    ArrayList<CarQueueDraw> toDraw;
    List<CarIF> baustellenList = new ArrayList<CarIF>();
    List<TrafficLightDraw> ampelList = new ArrayList<TrafficLightDraw>();
    parcview.interfaces.SimulationIF test;
    parcview.interfaces.ParkingLotIF parkplatz;
    parcview.interfaces.WaitingQueueIF einfahrt;
    parcview.interfaces.ConstructionIF baustelle;
    
    public ParcSimulation(ArrayList<CarQueueDraw> temp, ArrayList<TrafficLightDraw> temp2,int ta1,int ta2,int tb,int n,int te1,int te2,String algo) {
        
        this.toDraw = temp;
        this.ampelList = temp2;
        parcview.simulation.Simulation.init(ta1,ta2,te1,te2,tb,n,780,algo); // 780 Einheiten 13 Stunden
        test =  parcview.simulation.Simulation.getInstance();
        baustelle = test.getCONSTRUCTION();
        einfahrt = test.getWAITING_QUEUE();
        parkplatz = test.getPARKING_LOT();
        
    }
    

}
